$f: 19.2;

@keyframes scaleAnimate {
  0%{
    transform: translate(-50%,-50%) scale(1);
    opacity: .5;
  }
  100%{
    transform: translate(-50%,-50%) scale(1.3);
    opacity: 0;
  }
}

.home {
  position: relative;
  background: #F9F9F9;

  .bg1 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1;

    img {
      width: 100%;
      display: block;
      object-fit: cover;
    }
  }

  .bg2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;

    img {
      width: 100%;
      display: block;
      object-fit: cover;
    }
  }

  .bg3 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 100%;
    }
  }

  .main {
    padding: 364/$f+vw 160/$f+vw 120/$f+vw 160/$f+vw ;
    position: relative;
    z-index: 10;

    .title {
      text-align: center;

      h1 {
        color: #0F77FF;
        font-weight: 500;
        line-height: 0.8;
        text-transform: capitalize;
        margin-bottom: 24/$f+vw;
      }

      .tag {
        color: #000;
        font-weight: 300;
        line-height: 1.5;
      }
    }

  }
  .section1{
    padding: 130/$f+vw 0;
    .fix{
      .wrap{
        width: fit-content;
        margin: auto;
        display: flex;
        height: 760/$f+vw;
        border-radius: 20/$f+vw;
        border: 1px solid #FFF;
        background: rgba(255, 255, 255, 0.30);
        box-shadow: 24px 30px 50px 0px rgba(110, 163, 242, 0.12);
        backdrop-filter: blur(30px);
        overflow: hidden;
        .img{
          width: 643/$f+vw;
          height: 100%;
          border-radius: 20/$f+vw;
          overflow: hidden;
          &:hover{
            img{
              transform: scale(1.05);
            }
          }
          img{
            width: 100%;
            height: 100%;
            transition: .6s ease;
          }
        }
        .r{
          width: 957/$f+vw;
          height: 100%;
          padding: 118/$f+vw 95/$f+vw 67/$f+vw 100/$f+vw;
          .p1{
            color: #000;
            font-style: normal;
            font-weight: 500;
            line-height: 142.82%; /* 68.554px */
            text-transform: capitalize;
            margin: 0 0 24/$f+vw;
          }
          .scroll{
            height: 475/$f+vw;
            padding: 0 80/$f+vw 0 0;
            position: relative;
            overflow: hidden;
            overflow-y: scroll;
            &::-webkit-scrollbar-thumb {
              background: #0F77FF;
              border-radius: 10/$f+vw;
            }
            &::-webkit-scrollbar-track {
              background: rgba(0,0,0,0.05);
              border-radius: 10/$f+vw;
            }
            &::-webkit-scrollbar {
              width: 9px !important;
              display: block;
              border-radius: 10/$f+vw;
            }
            .line{
              width: 9/$f+vw;
              height: 450/$f+vw;
              border-radius: 10/$f+vw;
              background: #E4E4E4;
              position: absolute;
              right: 0;
              top: 0;
              display: none;
              div{
                width: 100%;
                height: 250/$f+vw;
                border-radius: 10/$f+vw;
                background: #0F77FF;
              }
            }
            p{
              color: #000;
              font-style: normal;
              font-weight: 300;
              line-height: 36/$f+vw; /* 150% */
              span{
                color: #0F77FF;
              }
            }
          }
        }
      }
    }
  }

  .section2{
    padding: 80/$f+vw 182/$f+vw 222/$f+vw 182/$f+vw;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    .item{
      width: 234/$f+vw;
      height: 234/$f+vw;
      background: rgba(255, 255, 255, 0.80);
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      position: relative;
      z-index: 1;
      &:after{
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
        opacity: .5;
        animation: scaleAnimate 1s infinite linear;
        background: #fff;
        z-index: -1;
        border-radius: 50%;
      }
      p{
        width: fit-content;
        background: linear-gradient(90deg, #0F77FF 0%, #BBAFFE 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 28/$f+vw;
        font-style: normal;
        font-weight: 400;
      }
    }
  }

  @keyframes goAnimate {
    100%{
      transform: translateX(-50%);
    }
  }

  .section_title{
    position: relative;
    z-index: 2;
    overflow: hidden;
    .title{
      color: #000;
      text-align: center;
      font-style: normal;
      font-weight: bold;
      line-height: 142.82%; /* 68.554px */
      text-transform: capitalize;
    }
  }
  .TimelineSection{
    position: relative;
    z-index: 2;
    height: 100vh;
    overflow: hidden;
    width: 100%;
    padding: 50/$f+vw 0 0 0;
    .wrap{
      position: relative;
      width: 100%;
      padding: 0 160/$f+vw;
      margin: 100/$f+vw auto;
      height: 100vh;
      .line_box{
        position: absolute;
        left: 0;
        top:0;
        width: 100%;
        height: 100%;
        &::before{
          left: 0;
          right:0;
          top:0;
          height: 100%;
          position: absolute;
          background: linear-gradient(to bottom, rgba(0,0,0,.62), rgba(0,0,0,0));
          width: 1px;
          content:'';
          display: block;
          margin: auto;
        }
      }
      .list{
        .timeline-card{
          position: absolute;
          width: 800/$f+vw;
          .dot{
            position: absolute;
            left: auto;
            right:-12/$f+vw;
            top:0;
            height: 24/$f+vw;
            width: 24/$f+vw;
            background: #000;
            border-radius: 50%;
          }
          .text{
            max-width: 90%;
            .year{
              color: #000;
              font-size: 28/$f+vw;
              font-style: normal;
              font-weight: 400;
              text-transform: capitalize;
              padding: 0 30/$f+vw;
            }
            .flex{
              display: flex;
              margin: 40/$f+vw 0 0 0;
              .des{
                width: 500/$f+vw;
                color: #000;
                font-size: 24/$f+vw;
                font-style: normal;
                font-weight: 300;
                border-radius: 20/$f+vw;
                border: 1px solid rgba(255, 255, 255, 0.60);
                background: rgba(255, 255, 255, 0.30);
                box-shadow: -6px 5px 2px 0px rgba(255, 255, 255, 0.20) inset;
                backdrop-filter: blur(28.67752456665039px);
                display: flex;
                align-items: center;
                padding: 37/$f+vw 60/$f+vw 37/$f+vw 35/$f+vw;
              }
              .pic{
                width: 260/$f+vw;
                border-radius: 20/$f+vw;
                overflow: hidden;
                height: 160/$f+vw;
                position: absolute;
                right: 70/$f+vw;
                top: 0;
                &:hover{
                  img{
                    transform: scale(1.05);
                  }
                }
                img{
                  width: 100%;
                  height: 100%;
                  transition: .6s ease;
                }
              }
            }
          }
        }
        .right-0 {
          right: 160/$f+vw;
          .text{
            left: 70/$f+vw;
            position: relative;
            .flex{
              .pic{
                right: 0;
              }
            }
          }
          .dot{
            right:auto;
            left: -12/$f+vw;
          }
        }
      }
    }
  }

  .section3{
    padding: 140/$f+vw 0 160/$f+vw;
    overflow: hidden;
    .title{
      color: #000;
      text-align: center;
      font-style: normal;
      font-weight: bold;
      line-height: 142.82%; /* 68.554px */
      text-transform: capitalize;
    }
    .content{
      margin: 80/$f+vw 0 0 0;
      .go{
        width: max-content;
        display: flex;
        animation: goAnimate 20s infinite linear;
        &:hover{
          animation-play-state: paused;
        }
        .flex{
          display: flex;
          .img{
            width: 270/$f+vw;
            height: 73/$f+vw;
            border-radius: 20/$f+vw;
            background: rgba(255, 255, 255, 0.30);
            box-shadow: -6px 5px 2px 0px rgba(255, 255, 255, 0.20) inset;
            backdrop-filter: blur(28.67752456665039px);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 60/$f+vw 0 0 ;
            img{
              object-fit: contain;
              max-width: 90%;
              max-height: 90%;
            }
          }
        }
      }
    }
  }
  @media screen and (max-width: 1024px) {
    overflow: hidden;

    .main{
      padding: 120px 5% 50px 5%;
      overflow: hidden;
      .title{
        h1{
          margin-bottom: 12px;
        }
      }

    }
    .section1{
      height: auto!important;
      .fix{
        height: auto;
        .wrap{
          width: 90%;
          flex-direction: column;
          height: auto;
          .img{
            width: 100%;
            height: 250px;
            border-radius: 10px;
          }
          .r{
            width: 100%;
            padding: 15px 5%;
            .p1{
              line-height: unset;
              margin: 0 0 15px;
            }
            .scroll{
              height: 350px;
              padding: 0;
              overflow: hidden;
              overflow-y: scroll;

              &::-webkit-scrollbar {
                display: none;
              }
              &.sj_scroll{
                display: block!important;
              }
              .line{
                display: none;
              }
              p{
                line-height: 25px;

              }
            }
          }
        }
      }
    }

    .section2{
      padding: 70px 5%;
      flex-wrap: wrap;
      gap: 25px 0;
      .item{
        width: 40vw;
        height: 40vw;
        p{
          font-size: 24px;
        }
      }
    }
    .TimelineSection{
      height: auto;
      .wrap{
        height: auto;
        padding: 0 5%;
        margin: 15px 0 0 0;
        .line_box{
          &:before{
            display: none;
          }
        }
        .list {
          .timeline-card{
            position: static;
            width: 100%;
            margin: 0 0 45px!important;
            .text{
              width: 100%;
              max-width: 100%;
              left: 0!important;
              .year{
                font-size: 22px;
              }
              .flex{
                flex-direction: column;
                margin: 25px 0 0 0;
                .des{
                  width: 100%;
                  height: auto;
                  font-size: 15px;
                  padding: 20px 5%;
                }
                .pic{
                  position: static;
                  width: 100%;
                  height: auto;
                  border-radius: 10px;
                  margin: 15px 0 0 0;
                }

              }
            }

            .dot{
              display: none;
            }
          }
        }
      }
    }
    .section3{
      padding: 40px 0 60px;
      .content{
        margin: 30px 0 0 0;
        .go{
          .flex{
            .img{
              width: 204px;
              height: 60px;
              margin: 0 30px 0 0;
              border-radius: 10px;
              img{
                width: 70%;
              }
            }
          }
        }
      }
    }
  }
}